Instance 0

Centrality↓:24.799950510872936  Popularity↓:0.9999999999981205  specifity↑:0.0
    for (Thread t:initRunners
      t.join();

Path:D:\JavaApiSearchResult\Thread.join\Class680.java


Instance 1

Centrality↓:25.558600902739283  Popularity↓:0.9999999999981205  specifity↑:0.049787068367863944
        for (ThreadBase[] threads : args)
            for (Thread thread : threads)
                thread.join();

Path:D:\JavaApiSearchResult\Thread.join\Class400.java


Instance 2

Centrality↓:25.558600902739283  Popularity↓:0.9999999999981205  specifity↑:0.049787068367863944
    for (int i = 0; i < numThreads; ++i) {
      threads[inew Thread(runnable);
      threads[i].start();
    }
    for (Thread t : threadst.join();

Path:D:\JavaApiSearchResult\Thread.join\Class360.java


Instance 3

Centrality↓:24.799950510872936  Popularity↓:0.9999999999981205  specifity↑:0.36787944117144233
        for (Thread thread : jobs) {
            try {
                thread.join();
            catch (InterruptedException e) {
                LOG.error("Error stopping thread", e);
            }
        }
        jobs.clear();

Path:D:\JavaApiSearchResult\Thread.join\Class260.java


Instance 4

Centrality↓:25.558600902739283  Popularity↓:0.9999999999981205  specifity↑:0.7855459507107486
    for (int i = 0; i < numThreads; ++i) {
      threads[inew Thread(runnable[i%runnable.length]"t" + i + ",r" (i%runnable.length));
      threads[i].start();
    }
    for (Thread t : threadst.join();

Path:D:\JavaApiSearchResult\Thread.join\Class150.java


Instance 5

Centrality↓:24.799950510872936  Popularity↓:0.9999999999981205  specifity↑:0.0
    for (Thread thread : _threads) {
      try {
        thread.join();
      catch (InterruptedException e) {
        e.printStackTrace();
      }
    }

Path:D:\JavaApiSearchResult\Thread.join\Class490.java


Instance 6

Centrality↓:24.799950510872936  Popularity↓:0.9999999999981205  specifity↑:0.0
    for (Thread monkeyThread : monkeyThreads) {
      monkeyThread.join();
    }

Path:D:\JavaApiSearchResult\Thread.join\Class190.java


Instance 7

Centrality↓:24.799950510872936  Popularity↓:0.9999999999981205  specifity↑:0.0
    for (Thread t : workers) {
      t.join();
    }

Path:D:\JavaApiSearchResult\Thread.join\Class350.java


Instance 8

Centrality↓:24.799950510872936  Popularity↓:0.9999999999981205  specifity↑:0.36787944117144233
        if (m_snapshotTargetTerminators != null) {
            for (Thread t : m_snapshotTargetTerminators) {
                t.join();
            }
        }

Path:D:\JavaApiSearchResult\Thread.join\Class220.java


Instance 9

Centrality↓:24.799950510872936  Popularity↓:0.9999999999981205  specifity↑:0.0
    for (Thread t : threads) {
      try {
        t.join();
      catch (InterruptedException e) {
        Thread.interrupted();
        throw new RuntimeException(e);
      }
    }

Path:D:\JavaApiSearchResult\Thread.join\Class240.java


Instance 10

Centrality↓:24.799950510872936  Popularity↓:0.9999999999981205  specifity↑:0.0
        for (Thread thread : threads) {
            try {
                thread.join();
            catch (java.lang.InterruptedException e) {
            }
        }

Path:D:\JavaApiSearchResult\Thread.join\Class240.java


Instance 11

Centrality↓:24.799950510872936  Popularity↓:0.9999999999981205  specifity↑:0.0
        for (Thread thread : threads) {
            thread.join();
        }

Path:D:\JavaApiSearchResult\Thread.join\Class370.java


Instance 12

Centrality↓:24.799950510872936  Popularity↓:0.9999999999981205  specifity↑:0.0
    for (Thread thread : _threads) {
      try {
        thread.join();
      catch (InterruptedException e) {
        e.printStackTrace();
      }
    }

Path:D:\JavaApiSearchResult\Thread.join\Class370.java


Instance 13

Centrality↓:24.799950510872936  Popularity↓:0.9999999999981205  specifity↑:0.0
        for Thread t : threads )
        {
            t.join();
        }

Path:D:\JavaApiSearchResult\Thread.join\Class520.java


Instance 14

Centrality↓:24.799950510872936  Popularity↓:0.9999999999981205  specifity↑:0.0
    for (Thread thread : toJoin) {
      thread.join();
    }

Path:D:\JavaApiSearchResult\Thread.join\Class470.java


Instance 15

Centrality↓:24.799950510872936  Popularity↓:0.9999999999981205  specifity↑:0.0
      for (Thread _thread : _threads) {
        try {
          _thread.join();
        catch (InterruptedException e) {
          throw new RuntimeException(e);
        }
      }

Path:D:\JavaApiSearchResult\Thread.join\Class600.java


Instance 16

Centrality↓:24.799950510872936  Popularity↓:0.9999999999981205  specifity↑:0.0
            for (Thread t : _threads) {
                t.join(1000);
            }

Path:D:\JavaApiSearchResult\Thread.join\Class340.java


Instance 17

Centrality↓:24.799950510872936  Popularity↓:0.9999999999981205  specifity↑:0.0
      for (Thread streamReader : this.streamReaders) {
        streamReader.join();
      }

Path:D:\JavaApiSearchResult\Thread.join\Class570.java


Instance 18

Centrality↓:24.799950510872932  Popularity↓:0.9999999999981205  specifity↑:0.0
    for (Thread st : threads) {
      try {
        st.join();
      catch (InterruptedException e) {
        success = false;
        LOG.error("Interruption", e);
      }
    }

Path:D:\JavaApiSearchResult\Thread.join\Class210.java


Instance 19

Centrality↓:24.799950510872932  Popularity↓:0.9999999999981205  specifity↑:0.0
        for (Thread thread : threads) {
            thread.join();
        }

Path:D:\JavaApiSearchResult\Thread.join\Class120.java


Instance 20

Centrality↓:24.799950510872932  Popularity↓:0.9999999999981205  specifity↑:0.36787944117144233
    for (Thread thread : threads) {
      try {
        thread.join();
      catch (InterruptedException e) {
        System.out.println("Interrupted while waiting on " + thread.getName() );
        throw e;
      }
    }

Path:D:\JavaApiSearchResult\Thread.join\Class70.java


Instance 21

Centrality↓:24.799950510872932  Popularity↓:0.9999999999981205  specifity↑:0.36787944117144233
            Thread.sleep(500L)// increase the chance of the deadlock
        for (Thread thread : threads) {
            thread.join();
        }

Path:D:\JavaApiSearchResult\Thread.join\Class70.java


Instance 22

Centrality↓:24.799950510872932  Popularity↓:0.9999999999981205  specifity↑:0.0
        for (Thread thread : threads) {
            thread.join();
        }

Path:D:\JavaApiSearchResult\Thread.join\Class460.java


Instance 23

Centrality↓:24.799950510872932  Popularity↓:0.9999999999981205  specifity↑:0.0
      for (Thread thread : threads) {
        thread.join();
      }

Path:D:\JavaApiSearchResult\Thread.join\Class330.java


Instance 24

Centrality↓:24.799950510872932  Popularity↓:0.9999999999981205  specifity↑:0.0
        for (Thread loaderThread : loaderThreads) {
            try {
                loaderThread.join();
            catch (InterruptedException e) {
                e.printStackTrace();
            }
        }

Path:D:\JavaApiSearchResult\Thread.join\Class650.java


Instance 25

Centrality↓:24.799950510872932  Popularity↓:0.9999999999981205  specifity↑:0.0
        for (Thread thread : threads) {
            thread.join();
        }

Path:D:\JavaApiSearchResult\Thread.join\Class650.java


Instance 26

Centrality↓:24.799950510872932  Popularity↓:0.9999999999981205  specifity↑:0.0
    for (Thread t : threads) {
      try {
        t.join();
      catch (InterruptedException e) {
        // do nothing
      }
    }

Path:D:\JavaApiSearchResult\Thread.join\Class390.java